Integrand size = 24, antiderivative size = 222 \[ \int \frac {x}{\left (c+a^2 c x^2\right )^{5/2} \arctan (a x)^{5/2}} \, dx=-\frac {2 x}{3 a c \left (c+a^2 c x^2\right )^{3/2} \arctan (a x)^{3/2}}-\frac {4}{3 a^2 c \left (c+a^2 c x^2\right )^{3/2} \sqrt {\arctan (a x)}}+\frac {8 x^2}{3 c \left (c+a^2 c x^2\right )^{3/2} \sqrt {\arctan (a x)}}-\frac {\sqrt {2 \pi } \sqrt {1+a^2 x^2} \operatorname {FresnelS}\left (\sqrt {\frac {2}{\pi }} \sqrt {\arctan (a x)}\right )}{3 a^2 c^2 \sqrt {c+a^2 c x^2}}-\frac {\sqrt {6 \pi } \sqrt {1+a^2 x^2} \operatorname {FresnelS}\left (\sqrt {\frac {6}{\pi }} \sqrt {\arctan (a x)}\right )}{a^2 c^2 \sqrt {c+a^2 c x^2}} \]
[Out]
Time = 0.72 (sec) , antiderivative size = 222, normalized size of antiderivative = 1.00, number of steps used = 27, number of rules used = 8, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.333, Rules used = {5088, 5091, 5090, 3393, 3386, 3432, 4491, 5022} \[ \int \frac {x}{\left (c+a^2 c x^2\right )^{5/2} \arctan (a x)^{5/2}} \, dx=-\frac {\sqrt {2 \pi } \sqrt {a^2 x^2+1} \operatorname {FresnelS}\left (\sqrt {\frac {2}{\pi }} \sqrt {\arctan (a x)}\right )}{3 a^2 c^2 \sqrt {a^2 c x^2+c}}-\frac {\sqrt {6 \pi } \sqrt {a^2 x^2+1} \operatorname {FresnelS}\left (\sqrt {\frac {6}{\pi }} \sqrt {\arctan (a x)}\right )}{a^2 c^2 \sqrt {a^2 c x^2+c}}+\frac {8 x^2}{3 c \sqrt {\arctan (a x)} \left (a^2 c x^2+c\right )^{3/2}}-\frac {2 x}{3 a c \arctan (a x)^{3/2} \left (a^2 c x^2+c\right )^{3/2}}-\frac {4}{3 a^2 c \sqrt {\arctan (a x)} \left (a^2 c x^2+c\right )^{3/2}} \]
[In]
[Out]
Rule 3386
Rule 3393
Rule 3432
Rule 4491
Rule 5022
Rule 5088
Rule 5090
Rule 5091
Rubi steps \begin{align*} \text {integral}& = -\frac {2 x}{3 a c \left (c+a^2 c x^2\right )^{3/2} \arctan (a x)^{3/2}}+\frac {2 \int \frac {1}{\left (c+a^2 c x^2\right )^{5/2} \arctan (a x)^{3/2}} \, dx}{3 a}-\frac {1}{3} (4 a) \int \frac {x^2}{\left (c+a^2 c x^2\right )^{5/2} \arctan (a x)^{3/2}} \, dx \\ & = -\frac {2 x}{3 a c \left (c+a^2 c x^2\right )^{3/2} \arctan (a x)^{3/2}}-\frac {4}{3 a^2 c \left (c+a^2 c x^2\right )^{3/2} \sqrt {\arctan (a x)}}+\frac {8 x^2}{3 c \left (c+a^2 c x^2\right )^{3/2} \sqrt {\arctan (a x)}}-4 \int \frac {x}{\left (c+a^2 c x^2\right )^{5/2} \sqrt {\arctan (a x)}} \, dx-\frac {16}{3} \int \frac {x}{\left (c+a^2 c x^2\right )^{5/2} \sqrt {\arctan (a x)}} \, dx+\frac {1}{3} \left (8 a^2\right ) \int \frac {x^3}{\left (c+a^2 c x^2\right )^{5/2} \sqrt {\arctan (a x)}} \, dx \\ & = -\frac {2 x}{3 a c \left (c+a^2 c x^2\right )^{3/2} \arctan (a x)^{3/2}}-\frac {4}{3 a^2 c \left (c+a^2 c x^2\right )^{3/2} \sqrt {\arctan (a x)}}+\frac {8 x^2}{3 c \left (c+a^2 c x^2\right )^{3/2} \sqrt {\arctan (a x)}}-\frac {\left (4 \sqrt {1+a^2 x^2}\right ) \int \frac {x}{\left (1+a^2 x^2\right )^{5/2} \sqrt {\arctan (a x)}} \, dx}{c^2 \sqrt {c+a^2 c x^2}}-\frac {\left (16 \sqrt {1+a^2 x^2}\right ) \int \frac {x}{\left (1+a^2 x^2\right )^{5/2} \sqrt {\arctan (a x)}} \, dx}{3 c^2 \sqrt {c+a^2 c x^2}}+\frac {\left (8 a^2 \sqrt {1+a^2 x^2}\right ) \int \frac {x^3}{\left (1+a^2 x^2\right )^{5/2} \sqrt {\arctan (a x)}} \, dx}{3 c^2 \sqrt {c+a^2 c x^2}} \\ & = -\frac {2 x}{3 a c \left (c+a^2 c x^2\right )^{3/2} \arctan (a x)^{3/2}}-\frac {4}{3 a^2 c \left (c+a^2 c x^2\right )^{3/2} \sqrt {\arctan (a x)}}+\frac {8 x^2}{3 c \left (c+a^2 c x^2\right )^{3/2} \sqrt {\arctan (a x)}}+\frac {\left (8 \sqrt {1+a^2 x^2}\right ) \text {Subst}\left (\int \frac {\sin ^3(x)}{\sqrt {x}} \, dx,x,\arctan (a x)\right )}{3 a^2 c^2 \sqrt {c+a^2 c x^2}}-\frac {\left (4 \sqrt {1+a^2 x^2}\right ) \text {Subst}\left (\int \frac {\cos ^2(x) \sin (x)}{\sqrt {x}} \, dx,x,\arctan (a x)\right )}{a^2 c^2 \sqrt {c+a^2 c x^2}}-\frac {\left (16 \sqrt {1+a^2 x^2}\right ) \text {Subst}\left (\int \frac {\cos ^2(x) \sin (x)}{\sqrt {x}} \, dx,x,\arctan (a x)\right )}{3 a^2 c^2 \sqrt {c+a^2 c x^2}} \\ & = -\frac {2 x}{3 a c \left (c+a^2 c x^2\right )^{3/2} \arctan (a x)^{3/2}}-\frac {4}{3 a^2 c \left (c+a^2 c x^2\right )^{3/2} \sqrt {\arctan (a x)}}+\frac {8 x^2}{3 c \left (c+a^2 c x^2\right )^{3/2} \sqrt {\arctan (a x)}}+\frac {\left (8 \sqrt {1+a^2 x^2}\right ) \text {Subst}\left (\int \left (\frac {3 \sin (x)}{4 \sqrt {x}}-\frac {\sin (3 x)}{4 \sqrt {x}}\right ) \, dx,x,\arctan (a x)\right )}{3 a^2 c^2 \sqrt {c+a^2 c x^2}}-\frac {\left (4 \sqrt {1+a^2 x^2}\right ) \text {Subst}\left (\int \left (\frac {\sin (x)}{4 \sqrt {x}}+\frac {\sin (3 x)}{4 \sqrt {x}}\right ) \, dx,x,\arctan (a x)\right )}{a^2 c^2 \sqrt {c+a^2 c x^2}}-\frac {\left (16 \sqrt {1+a^2 x^2}\right ) \text {Subst}\left (\int \left (\frac {\sin (x)}{4 \sqrt {x}}+\frac {\sin (3 x)}{4 \sqrt {x}}\right ) \, dx,x,\arctan (a x)\right )}{3 a^2 c^2 \sqrt {c+a^2 c x^2}} \\ & = -\frac {2 x}{3 a c \left (c+a^2 c x^2\right )^{3/2} \arctan (a x)^{3/2}}-\frac {4}{3 a^2 c \left (c+a^2 c x^2\right )^{3/2} \sqrt {\arctan (a x)}}+\frac {8 x^2}{3 c \left (c+a^2 c x^2\right )^{3/2} \sqrt {\arctan (a x)}}-\frac {\left (2 \sqrt {1+a^2 x^2}\right ) \text {Subst}\left (\int \frac {\sin (3 x)}{\sqrt {x}} \, dx,x,\arctan (a x)\right )}{3 a^2 c^2 \sqrt {c+a^2 c x^2}}-\frac {\sqrt {1+a^2 x^2} \text {Subst}\left (\int \frac {\sin (x)}{\sqrt {x}} \, dx,x,\arctan (a x)\right )}{a^2 c^2 \sqrt {c+a^2 c x^2}}-\frac {\sqrt {1+a^2 x^2} \text {Subst}\left (\int \frac {\sin (3 x)}{\sqrt {x}} \, dx,x,\arctan (a x)\right )}{a^2 c^2 \sqrt {c+a^2 c x^2}}-\frac {\left (4 \sqrt {1+a^2 x^2}\right ) \text {Subst}\left (\int \frac {\sin (x)}{\sqrt {x}} \, dx,x,\arctan (a x)\right )}{3 a^2 c^2 \sqrt {c+a^2 c x^2}}-\frac {\left (4 \sqrt {1+a^2 x^2}\right ) \text {Subst}\left (\int \frac {\sin (3 x)}{\sqrt {x}} \, dx,x,\arctan (a x)\right )}{3 a^2 c^2 \sqrt {c+a^2 c x^2}}+\frac {\left (2 \sqrt {1+a^2 x^2}\right ) \text {Subst}\left (\int \frac {\sin (x)}{\sqrt {x}} \, dx,x,\arctan (a x)\right )}{a^2 c^2 \sqrt {c+a^2 c x^2}} \\ & = -\frac {2 x}{3 a c \left (c+a^2 c x^2\right )^{3/2} \arctan (a x)^{3/2}}-\frac {4}{3 a^2 c \left (c+a^2 c x^2\right )^{3/2} \sqrt {\arctan (a x)}}+\frac {8 x^2}{3 c \left (c+a^2 c x^2\right )^{3/2} \sqrt {\arctan (a x)}}-\frac {\left (4 \sqrt {1+a^2 x^2}\right ) \text {Subst}\left (\int \sin \left (3 x^2\right ) \, dx,x,\sqrt {\arctan (a x)}\right )}{3 a^2 c^2 \sqrt {c+a^2 c x^2}}-\frac {\left (2 \sqrt {1+a^2 x^2}\right ) \text {Subst}\left (\int \sin \left (x^2\right ) \, dx,x,\sqrt {\arctan (a x)}\right )}{a^2 c^2 \sqrt {c+a^2 c x^2}}-\frac {\left (2 \sqrt {1+a^2 x^2}\right ) \text {Subst}\left (\int \sin \left (3 x^2\right ) \, dx,x,\sqrt {\arctan (a x)}\right )}{a^2 c^2 \sqrt {c+a^2 c x^2}}-\frac {\left (8 \sqrt {1+a^2 x^2}\right ) \text {Subst}\left (\int \sin \left (x^2\right ) \, dx,x,\sqrt {\arctan (a x)}\right )}{3 a^2 c^2 \sqrt {c+a^2 c x^2}}-\frac {\left (8 \sqrt {1+a^2 x^2}\right ) \text {Subst}\left (\int \sin \left (3 x^2\right ) \, dx,x,\sqrt {\arctan (a x)}\right )}{3 a^2 c^2 \sqrt {c+a^2 c x^2}}+\frac {\left (4 \sqrt {1+a^2 x^2}\right ) \text {Subst}\left (\int \sin \left (x^2\right ) \, dx,x,\sqrt {\arctan (a x)}\right )}{a^2 c^2 \sqrt {c+a^2 c x^2}} \\ & = -\frac {2 x}{3 a c \left (c+a^2 c x^2\right )^{3/2} \arctan (a x)^{3/2}}-\frac {4}{3 a^2 c \left (c+a^2 c x^2\right )^{3/2} \sqrt {\arctan (a x)}}+\frac {8 x^2}{3 c \left (c+a^2 c x^2\right )^{3/2} \sqrt {\arctan (a x)}}-\frac {\sqrt {2 \pi } \sqrt {1+a^2 x^2} \operatorname {FresnelS}\left (\sqrt {\frac {2}{\pi }} \sqrt {\arctan (a x)}\right )}{3 a^2 c^2 \sqrt {c+a^2 c x^2}}-\frac {\sqrt {6 \pi } \sqrt {1+a^2 x^2} \operatorname {FresnelS}\left (\sqrt {\frac {6}{\pi }} \sqrt {\arctan (a x)}\right )}{a^2 c^2 \sqrt {c+a^2 c x^2}} \\ \end{align*}
Result contains complex when optimal does not.
Time = 0.77 (sec) , antiderivative size = 261, normalized size of antiderivative = 1.18 \[ \int \frac {x}{\left (c+a^2 c x^2\right )^{5/2} \arctan (a x)^{5/2}} \, dx=\frac {-12 \left (a x+\left (2-4 a^2 x^2\right ) \arctan (a x)\right )+4 \sqrt {6 \pi } \left (1+a^2 x^2\right )^{3/2} \arctan (a x)^{3/2} \left (3 \sqrt {3} \operatorname {FresnelS}\left (\sqrt {\frac {2}{\pi }} \sqrt {\arctan (a x)}\right )-\operatorname {FresnelS}\left (\sqrt {\frac {6}{\pi }} \sqrt {\arctan (a x)}\right )\right )+7 \left (1+a^2 x^2\right )^{3/2} \arctan (a x) \left (3 \sqrt {-i \arctan (a x)} \Gamma \left (\frac {1}{2},-i \arctan (a x)\right )+3 \sqrt {i \arctan (a x)} \Gamma \left (\frac {1}{2},i \arctan (a x)\right )+\sqrt {3} \left (\sqrt {-i \arctan (a x)} \Gamma \left (\frac {1}{2},-3 i \arctan (a x)\right )+\sqrt {i \arctan (a x)} \Gamma \left (\frac {1}{2},3 i \arctan (a x)\right )\right )\right )}{18 a^2 c \left (c+a^2 c x^2\right )^{3/2} \arctan (a x)^{3/2}} \]
[In]
[Out]
\[\int \frac {x}{\left (a^{2} c \,x^{2}+c \right )^{\frac {5}{2}} \arctan \left (a x \right )^{\frac {5}{2}}}d x\]
[In]
[Out]
Exception generated. \[ \int \frac {x}{\left (c+a^2 c x^2\right )^{5/2} \arctan (a x)^{5/2}} \, dx=\text {Exception raised: TypeError} \]
[In]
[Out]
Timed out. \[ \int \frac {x}{\left (c+a^2 c x^2\right )^{5/2} \arctan (a x)^{5/2}} \, dx=\text {Timed out} \]
[In]
[Out]
Exception generated. \[ \int \frac {x}{\left (c+a^2 c x^2\right )^{5/2} \arctan (a x)^{5/2}} \, dx=\text {Exception raised: RuntimeError} \]
[In]
[Out]
Exception generated. \[ \int \frac {x}{\left (c+a^2 c x^2\right )^{5/2} \arctan (a x)^{5/2}} \, dx=\text {Exception raised: TypeError} \]
[In]
[Out]
Timed out. \[ \int \frac {x}{\left (c+a^2 c x^2\right )^{5/2} \arctan (a x)^{5/2}} \, dx=\int \frac {x}{{\mathrm {atan}\left (a\,x\right )}^{5/2}\,{\left (c\,a^2\,x^2+c\right )}^{5/2}} \,d x \]
[In]
[Out]